import Vue from 'vue'
import Router from 'vue-router'
import ConfigPage from "../components/page/ConfigPage";

Vue.use(Router)

export default new Router({

  routes: [
    {
      path: '/config',
      name: 'config',
      component: ConfigPage,
      children: [
        {
          path: 'sjjgConfig',
          name: 'sjjgConfig',
          component: () => import('@/components/cp/config/sjjgConfig')
        },
        {
          path: 'lsxtjConfig',
          name: 'lsxtjConfig',
          component: () => import('@/components/cp/config/lsxtjConfig')
        },
        {
          path: 'sbfzConfig',
          name: 'sbfzConfig',
          component: () => import('@/components/cp/config/sbfzConfig')
        },
        {
          path: 'yxhjConfig',
          name: 'yxhjConfig',
          component: () => import('@/components/cp/config/yxhjConfig')
        },
        {
          path: 'ybtjConfig',
          name: 'ybtjConfig',
          component: () => import('@/components/cp/config/ybtjConfig')
        },
        {
          path: 'tsConfig',
          name: 'tsConfig',
          component: () => import('@/components/cp/config/tsConfig')
        },
        {
          path: 'testConfig',
          name: 'testConfig',
          component: () => import('@/components/cp/config/testConfig')
        }
      ]
    }
  ]
})


